![]() |
Sensor Fusion for Kinetis MCUs (ISSDK/KSDK version)
|
Include dependency graph for driver_pit.c:Go to the source code of this file.
Macros | |
| #define | PIT_LED_HANDLER PIT0_IRQHandler |
| #define | PIT_IRQ_ID PIT0_IRQn |
| #define | PIT_SOURCE_CLOCK CLOCK_GetFreq(kCLOCK_BusClk) |
Functions | |
| void | PIT_LED_HANDLER (void) |
| void | pit_init (uint32_t microseconds) |
Variables | |
| volatile bool | pitIsrFlag = false |
Bare metal implementations of the sensor fusion library require at least one periodic interrupt for use as a timebase for sensor fusion functions. The Periodic Interval Timer (PIT) is one such module that is commonly found on NXP Kinetis MCUs. The PIT functions are only referenced at the main() level. There is no interaction within the fusion routines themselves.
Definition in file driver_pit.c.
| #define PIT_IRQ_ID PIT0_IRQn |
Definition at line 50 of file driver_pit.c.
Referenced by pit_init().
| #define PIT_LED_HANDLER PIT0_IRQHandler |
Definition at line 49 of file driver_pit.c.
| #define PIT_SOURCE_CLOCK CLOCK_GetFreq(kCLOCK_BusClk) |
Definition at line 51 of file driver_pit.c.
Referenced by pit_init().
| void pit_init | ( | uint32_t | microseconds | ) |
Definition at line 62 of file driver_pit.c.
Referenced by main().
Here is the caller graph for this function:| void PIT_LED_HANDLER | ( | void | ) |
Definition at line 55 of file driver_pit.c.
| volatile bool pitIsrFlag = false |
Definition at line 53 of file driver_pit.c.
Referenced by main(), and PIT_LED_HANDLER().